home *** CD-ROM | disk | FTP | other *** search
- // VirtualDub - Video processing and capture application
- // Copyright (C) 1998-2001 Avery Lee
- //
- // This program is free software; you can redistribute it and/or modify
- // it under the terms of the GNU General Public License as published by
- // the Free Software Foundation; either version 2 of the License, or
- // (at your option) any later version.
- //
- // This program is distributed in the hope that it will be useful,
- // but WITHOUT ANY WARRANTY; without even the implied warranty of
- // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- // GNU General Public License for more details.
- //
- // You should have received a copy of the GNU General Public License
- // along with this program; if not, write to the Free Software
- // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
- #ifndef f_VIRTUALDUB_CPUACCEL_H
- #define f_VIRTUALDUB_CPUACCEL_H
-
- #define CPUF_SUPPORTS_CPUID (0x00000001L)
- #define CPUF_SUPPORTS_FPU (0x00000002L)
- #define CPUF_SUPPORTS_MMX (0x00000004L)
- #define CPUF_SUPPORTS_INTEGER_SSE (0x00000008L)
- #define CPUF_SUPPORTS_SSE (0x00000010L)
- #define CPUF_SUPPORTS_SSE2 (0x00000020L)
- #define CPUF_SUPPORTS_3DNOW (0x00000040L)
- #define CPUF_SUPPORTS_3DNOW_EXT (0x00000080L)
-
- long CPUCheckForExtensions();
- long CPUEnableExtensions(long lEnableFlags);
- long CPUGetEnabledExtensions();
-
- extern "C" bool FPU_enabled, MMX_enabled, ISSE_enabled;
-
- #endif
-